package com.etc.dao;

import java.util.List;

import com.etc.entity.Desk;
import com.etc.entity.FoodBean;
import com.etc.entity.FoodType;
import com.etc.entity.LineupBean;
import com.etc.entity.Order;

public interface FoodDao {
	public List<FoodBean> seleFood(int sellerId,int foodTypeId);
	public List<Desk> seleTable(int sellerId);
	public int  upDeskState1(int deskId);
	public int insertOrder(Order order);
	public int insertOrderDetail(int orderId,int foodId,int buyNumber);
	
	//获取菜品分类
	public List<FoodType> getFoodType();
		
	//添加菜品
	public boolean addFood(FoodBean foodbean);
	//獲取最小的未叫號的排隊記錄
	public List<LineupBean> gesAsc(int sellerId);
	//改变排队表的状态
	public int updateLineup(int lineupId);
}
